define(["require", 'config/appregister', "jquery", "domReady"], function(require, app) {
	app.controller('loginedCtrl', function($scope) {
		window.onload = stime();
		function stime() {
			var span = $("#yes3s").html();
			var thistime = setInterval(function() {
				if(span > 0) {
					span--;
					span = span;
				} else {
					clearInterval(thistime);
					//window.location.href = "http://116.62.10.111:8020/elink/index.html#/login";
				}
				$("#yes3s").html(span);
			}, 1000);
		}
	})
})